//全站加积分提示模块
define(function(require, exports, module){
	exports.tip = function(type,words,comment_type){
        if(comment_type == undefined){
            comment_type == 0;
        }
		$.ajax({
	      type: "GET",
	      async: 'false',
	      url: USER_CENTER +"prize/prizeNum?strategy="+type+"&type="+comment_type,
	      dataType: "jsonp",
	      success: function(data) {
	          if(data.unlimited){
	          	// require.async("./com_tips",function(tips){
            //     	tips.tip1(words+" +"+data.num+"积分");
            //   	})
				// console.log(111)
				YP_tip(words+" +"+data.num+"积分");
	          }
	      }
	    })
	}
});